package com.polymathcoder.dpastry.api.pastry;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Drew
 * Date: Jul 5, 2010
 * Time: 12:36:15 AM
 * To change this template use File | Settings | File Templates.
 */
public interface RouteMessage extends Serializable {
    public Id getDestinationId();

    public NodeHandle getNextHopHandle();

    public Message getMessage();

    public void setDestinationId(Id id);

    public void setNextHopHandle(NodeHandle nextHop);

    public void setMessage(Message msg);
}
